package com.sias.realestate.web.dao;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.sias.realestate.core.generic.GenericDao;
import com.sias.realestate.web.model.Charge;

public interface ChargeMapper extends GenericDao<Charge, Integer>{
    int deleteByPrimaryKey(Integer cId);

    int insert(Charge record);

    int insertSelective(Charge record);

    Charge selectByPrimaryKey(Integer cId);

    int updateByPrimaryKeySelective(Charge record);

    int updateByPrimaryKey(Charge record);
    
    List<Charge> findAll();
    
    List<Charge> selectAll();
    
    Charge selectByCid(Integer cid);
    
    List<Charge> selectByOid(Integer oid);
    
    List<Charge> selectByOidIf(Integer oid,@Param(value="cType") String cType, @Param(value="cStatus")String cStatus, @Param(value="cTime") Date cTime);
}